
import { ICellBase } from '../interfaces/cell';
export abstract class AEditorBase {
    public abstract  editorName: string;
    protected containerDom: HTMLElement;
    constructor() {
    }
    public init() {

    };
    public abstract setValue(): void;
    public abstract open(cell: ICellBase): void;
    public abstract close(): void;
    public abstract focus(): void;
    public abstract getValue(): void; 
    protected destroy() {
        for(let item in this) {
            try {
                delete this[item]
            } catch (error) {
                
            }
        }
    }
}